using System;
using System.Collections.Generic;
using System.Text;
using System.Net.Sockets;

namespace PrGrSerwerRozproszony
{
    interface IConnection
    {
        /// <summary>
        /// We are assuming that client is already connected
        /// </summary>
        TcpClient TcpClient
        {
            set;
        }

        /// <summary>
        /// Every class implements start method
        /// should create by own working thread.
        /// </summary>
        void Start();

        void SendMessage(string msg);
    }
}
